hasStroke

abstract fun hasStroke(block: DesignBlock): Boolean

Deprecated

Use supportsStroke instead.

Replace with

this.supportsStroke(block)

Query if the given block has a stroke property.

Return

true if the block has a stroke property, false otherwise.

Parameters

block

the block to query.